class DrawLog():
    def __init__(self,data):
        self.data=data
        self.count=len(data)

    def GetData(self,dataname,index=None):
        result=[]
        for i in range(self.count):
            if(index==None):
                result.append(self.data[i][dataname])
            else:
                result.append(self.data[i][dataname][index])
        return result